package com.kgc.rb.common.configration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@Configuration
@ConfigurationProperties(prefix = "kafkaconfig")
@Data
public class KafkaConfiguration {

    private String moduleName;

    public static String qgKey="qg";

    public static class LogType{  //定义日志等级的内部类

        public static final String INFO="info";

        public static final String ERROR="error";
    }
}
